package com.kexuexiong.clientapi.controller;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.kexuexiong.common.mappers.TestMapper;
import com.kexuexiong.file.oss.OssService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * <p>功能描述</p>
 *
 * @author xy
 * @version 1.0
 * @ClassName TestController.java
 * @date 2021年11月2021/11/29日 14:14
 */
@RequestMapping("test/")
@RestController
public class TestController {

    @Autowired
    private TestMapper testMapper;



    @PostMapping(value = "/list")
    public Object test(){
        return testMapper.selectList(new QueryWrapper<>());
    }


}
